<a id="camel.toolkits.excel_toolkit"></a>

<a id="camel.toolkits.excel_toolkit.ExcelToolkit"></a>

## ExcelToolkit

```python
class ExcelToolkit(BaseToolkit):
```

A class representing a toolkit for extract detailed cell information
from an Excel file.

This class provides methods extracting detailed content from Excel files
(including .xls, .xlsx,.csv), and converting the data into
Markdown formatted table.

<a id="camel.toolkits.excel_toolkit.ExcelToolkit.__init__"></a>

### __init__

```python
def __init__(self, timeout: Optional[float] = None):
```

Initializes a new instance of the ExcelToolkit class.

**Parameters:**

- **timeout** (Optional[float]): The timeout value for API requests in seconds. If None, no timeout is applied. (default: :obj:`None`)

<a id="camel.toolkits.excel_toolkit.ExcelToolkit._convert_to_markdown"></a>

### _convert_to_markdown

```python
def _convert_to_markdown(self, df: pd.DataFrame):
```

Convert DataFrame to Markdown format table.

**Parameters:**

- **df** (pd.DataFrame): DataFrame containing the Excel data.

**Returns:**

  str: Markdown formatted table.

<a id="camel.toolkits.excel_toolkit.ExcelToolkit.extract_excel_content"></a>

### extract_excel_content

```python
def extract_excel_content(self, document_path: str):
```

Extract detailed cell information from an Excel file, including
multiple sheets.

**Parameters:**

- **document_path** (str): The path of the Excel file.

**Returns:**

  str: Extracted excel information, including details of each sheet.

<a id="camel.toolkits.excel_toolkit.ExcelToolkit.get_tools"></a>

### get_tools

```python
def get_tools(self):
```

**Returns:**

  List[FunctionTool]: A list of FunctionTool objects representing
the functions in the toolkit.
